home *** CD-ROM | disk | FTP | other *** search
/ Business Shareware / Business Shareware.iso / start / wordproc / doc_proc / doc-proc.man < prev    next >
Encoding:
Text File  |  1992-11-30  |  102.3 KB  |  1,882 lines

  1.                                                                                
  2.                                                                                 
  3.                                                                                 
  4.                                                                                 
  5.                                                                                 
  6.                                                                                 
  7.                                                                                 
  8.                                                                                 
  9.                                                                                 
  10.                                                                                 
  11.                                                                                 
  12.                                                                                 
  13.                         The Doc-Proc Reference Manual                           
  14.                                                                                 
  15.                          Version 1.1 March 01, 1993
  16.                                                                                 
  17.                      Copyright 1993 CONNECT/Soft Publishing Co.                 
  18.                                                                                 
  19.                               All Rights Reserved                               
  20.                                                                                 
  21.                                                                                 
  22.                                                                                 
  23.                                                                                 
  24.                                                                                 
  25.                                                                                 
  26.                                                                                 
  27.                                                                                 
  28.                                                                                 
  29.                                                                                 
  30.                                                                                 
  31.                                                                                 
  32.                             CONNECT/Soft Publishing Co.                         
  33.                             4247 Bingham Ct.
  34.                             Stone Mountain, Georgia 30083
  35.                             United States of America
  36.  
  37.                             Sole Proprietor:
  38.                             John S. Ward
  39.                                                                                 
  40.                                                                                 
  41.                                                                                 
  42.                                                                                 
  43.                                                                                 
  44.                                                                                 
  45.                                                                                 
  46.                                                                                 
  47.                                                                                 
  48.                                                                                 
  49.  
  50.                                                                                 
  51.                                                                                 
  52.                                                                                 
  53.                                                                                 
  54.                                                                                 
  55.                                                                                 
  56.                                                                                 
  57.                                                                                 
  58.                                                                                 
  59.                                                                                 
  60.  
  61.                                                                                 
  62.                                                                                 
  63.                                                                                 
  64.                                                                                 
  65.                                Table of Contents                                
  66.                                                                                 
  67.                                                                                 
  68.                                                                                 
  69.       Introduction ..................................... 1
  70.       Installation ......................................3
  71.       Program Requirements (Programmer) ................ 3                      
  72.       Program Requirements (User) ...................... 3                      
  73.       Distribution Files ............................... 3                      
  74.       Registration ..................................... 4
  75.       Shareware License ................................ 4
  76.       Shareware Warranty ............................... 4
  77.       Registered License ............................... 4
  78.       Registered Warranty .............................. 5
  79.       Registered Support ............................... 5
  80.       Frankness Clause ................................. 6
  81.       Disclaimer ....................................... 6
  82.       About Config.sys and Autoexec.bat ................ 6                      
  83.       Contacting the Author ............................ 6                      
  84.       Upgrade Policy ................................... 7                      
  85.       Script Syntax .................................... 7
  86.       Format of Script File ............................ 8
  87.       Script Tokens .................................... 10                     
  88.           CENTER ....................................... 10
  89.           COMMAND.COM................................... 11
  90.           COMMENT....................................... 12
  91.           DEST.......................................... 13
  92.           DIRECTORY..................................... 14
  93.           END........................................... 15
  94.           GOODBYE....................................... 15
  95.           MARGIN........................................ 16
  96.           MENU1 ........................................ 16
  97.           MENU2 ........................................ 17
  98.           NETWORK....................................... 18
  99.           SENTENCE...................................... 19
  100.           SKIP.......................................... 20
  101.           TITLE......................................... 21
  102.       Script Debugging ................................. 22
  103.       Error Messages ................................... 22
  104.           Critical File Errors ......................... 23
  105.           Token Syntax Errors .......................... 25
  106.           Miscellaneous Errors ......................... 27
  107.           Critical Hardware Errors ..................... 27
  108.       Preparing Documents for Doc-Proc...................28
  109.       Preparing the News File for Doc-Proc...............28
  110.       Registration ..................................... 29
  111.       The TEN Commandments ............................. 30
  112.  
  113.  
  114.  
  115.  
  116.  
  117.      ===========================================================================
  118.                                     Introduction                                
  119.      ===========================================================================
  120.                                                                                 
  121.                                                                                 
  122.      Once upon a time I wrote a program that was (and is) distributed           
  123.      nationwide.  This program, like most, needs to be installed on the         
  124.      customers' hard drives.  I investigated every document processor           
  125.      that I could find, and came away convinced that none of them had been      
  126.      done very well.  Under no circumstances could I justify $250, up to        
  127.      $350, for any of them.                                                     
  128.                                                                                 
  129.      I wrote Doc-Proc.                                                          
  130.                                                                                 
  131.      Doc-Proc is a script driven professional On-line Information Retrieval      
  132.      System that you as a programmer (or consultant) can use to categorize      
  133.      documents in a manner that is easy to retrieve.  These can be documents    
  134.      used within a department or small business.                                
  135.      You as a programmer (or consultant) can install Doc-Proc on your
  136.      customer's computer and write your own token commands to taylor
  137.      Doc-Proc to fit your own applications or information bases.  My
  138.      personal goal with this program was to develop a program that used,
  139.      as input, token commands to process document files in the most convenient
  140.      way possible.  The procedure HAD to be configurable quickly and easily.
  141.      A brief list of features includes:                                         
  142.                                                                                 
  143.                                                                                 
  144.                                                                                 
  145.         -     Professional look and feel for a better first                     
  146.               impression.                                                       
  147.                                                                                 
  148.         -     Comprehensive environment detection, including minimum            
  149.               CPU, floating point processor, installed RAM, and MS-Dos          
  150.               version.                                                          
  151.                                                                                 
  152.         -     All Doc-Proc text strings may be optionally redefined             
  153.               via an external file.                                             
  154.                                                                                 
  155.         -     Supports VGA/EGA 50/43 line text modes if detected.               
  156.                                                                                 
  157.         -     You customize your own titles for each of your screens.           
  158.                                                                                 
  159.         -     Doc-Proc is designed with user friendly Function keys that        
  160.               allow you to have access to POP-UP HELP screens. Help screens     
  161.               are available for each Menu panel.                                
  162.                                                                                 
  163.         -     You optionally define the output destination for all documents.   
  164.               If no output destinations are designated, a default list
  165.               of destinations will be generated on the Destination screen.      
  166.                                                                                 
  167.         -     You may specify a number of different printers for output         
  168.               all of which could be connected to the same printer port          
  169.               by using Network directives.                                      
  170.  
  171.  
  172.  
  173.                                                                                 
  174.         -     You have the capability of specifying any Network or Dos          
  175.               command before Doc-Proc processes any documents.                  
  176.                                                                                 
  177.         -     Doc-Proc has a user interface that allows the user to issue       
  178.               Network or Dos directives while while choosing a destination      
  179.               option.                                                           
  180.                                                                                 
  181.         -     You define the Main menu panel by using category names            
  182.               appropriate to the documents displayed in the sub-menus.          
  183.                                                                                 
  184.         -     You optionally define the headings for each sub-menu panel.       
  185.               If no heading is designated for a sub-menu panel, Doc-Proc        
  186.               will generate one using the name of the category from             
  187.               the Main menu.                                                    
  188.                                                                                 
  189.         -     You have the capacity to specify up to 18 different categories    
  190.               on the main panel and up to 18 documents for each sub-menu.       
  191.               This means it is possible to access a maximum number of 324
  192.               documents on-line.  This, however, assumes that no titles
  193.               will be used on the menu panels.  For every title line used
  194.               used to describe a menu panel, you have one less line on the
  195.               screen for a category or document name.
  196.                                                                                 
  197.         -     Sub-menu panels are designed so that multiple documents           
  198.               may be selected by separating each option number with a           
  199.               comma.                                                            
  200.                                                                                 
  201.         -     Doc-Proc has the capability to display all selected documents     
  202.               on the terminal.                                                  
  203.                                                                                 
  204.         -     Doc-Proc is equipped with a system news processor which allows    
  205.               the administrator to place dated news on the system that may      
  206.               be pertinent to the On-line documentation.  A selection panel      
  207.               allows one to view all news or only that news which is less       
  208.               30 days old.                                                      
  209.                                                                                 
  210.         -     Perhaps one of the most intriguing features attained by using     
  211.               token directives, is that you have the flexibility of             
  212.               allowing the Doc-Proc administrator to design the screens using   
  213.               any language.  For example: Spanish, French, English, and         
  214.               German can be easily used without any modifications to the        
  215.               source code.                                                      
  216.                                                                                 
  217.         -     Robust error handling, including a custom critical error          
  218.               handler that won't scare the dickens out of you.                  
  219.               As text from the MENU.FIL is read, it is scanned for              
  220.               syntax errors.  All syntax errors will be displayed on            
  221.               the Product Banner screen.  The line number in error will         
  222.               be displayed along with a descriptive error message.              
  223.               Doc-Proc will terminate until all syntax errors have been         
  224.               corrected.                                                        
  225.                                                                                 
  226.  
  227.                           Doc-Proc Reference Manual
  228.                                       - 2 -
  229.  
  230.  
  231.  
  232.  
  233.      ===========================================================================
  234.                                   Installation
  235.      ===========================================================================
  236.  
  237.      The installation procedure for Doc-Proc was designed to install Doc-Proc
  238.      and all associated files.  The installation procedure will install the
  239.      Doc-Proc package on the C drive under the directory Doc-Proc.  A
  240.      subdirectory will be created called DOC.  This directory will contain
  241.      some sample documents to be used with Doc-Proc.  It is recommended that
  242.      all documents to be used with Doc-Proc be placed under the DOC
  243.      subdirectory.  The installation has been designed so that you may change
  244.      the installation default directories to whatever you wish.  In order to
  245.      install the Doc-Proc package type INSTALL and follow the instructions.
  246.  
  247.      ===========================================================================
  248.                        Program Requirements (Programmer)                        
  249.      ===========================================================================
  250.                                                                                 
  251.            1. Text editor for creating and modifying the script file(s).        
  252.               This text editor must not insert tab characters into your         
  253.               screen definition lines.                                          
  254.            2. MS-Dos 3.0 or higher.                                              
  255.            3. IBM PC BIOS compatible MS-Dos computer with at least 200k
  256.               free RAM.
  257.            4. Standard CGA or Hercules compatible video subsystem.              
  258.                                                                                 
  259.      ===========================================================================
  260.                           Program Requirements (User)                           
  261.      ===========================================================================
  262.                                                                                 
  263.            1. MS-DOS 3.0 or higher.                                             
  264.            2. IBM PC BIOS-compatible MS-DOS computer with 200k free RAM
  265.               (more RAM needed for RUN commands)
  266.            3. Standard CGA or Hercules compatible video subsystem.              
  267.                                                                                 
  268.      ===========================================================================
  269.                               Distribution Files                                
  270.      ===========================================================================
  271.                                                                                 
  272.      Doc-Proc comes distributed with the following files:                       
  273.                                                                                 
  274.              DOC-PROC.EXE - the executable
  275.              DOC-PROC.MSK - mask library for screen interface
  276.              DOC-PROC.MAN - this reference manual
  277.              MENU.FIL     - sample script used to demonstrate Doc-Proc
  278.              ORDER.DOC    - order form
  279.              README.DOC   - quick hello
  280.  
  281.      If any of these files were missing, feel free to down-load the latest       
  282.      version from the CONNECT/Soft On-line.  Also, when you distribute           
  283.      Doc-Proc with your applications, feel encouraged to rename it to what      
  284.      ever you wish to call it.
  285.                                                   
  286.                           Doc-Proc Reference Manual
  287.                                       -3-
  288.  
  289.  
  290.  
  291.  
  292.      ===========================================================================
  293.                                  Registration                                   
  294.      ===========================================================================
  295.                                                                                 
  296.      Upon receipt of the registration price of $50.00 (U.S. funds only) you     
  297.      will be sent a disk with the most current version that will enable you     
  298.      to use the package without displaying my shareware notice.  Use
  299.      the file "order.doc" to order.  Sorry, MC/Visa not accepted.               
  300.                                                                                 
  301.  
  302.      ===========================================================================
  303.                                Shareware License                                
  304.      ===========================================================================
  305.                                                                                 
  306.      You are free to distribute shareware copies of Doc-Proc provided           
  307.      that none of the included files are modified or removed, and provided      
  308.      that no additional files are included in the archive.  Modifying the       
  309.      archive format (from .zip to some other format perhaps more                
  310.      convenient) is permitted.                                                  
  311.                                                                                 
  312.                                                                                 
  313.      ===========================================================================
  314.                               Shareware Warranty                                
  315.      ===========================================================================
  316.                                                                                 
  317.      The shareware version of Doc-Proc is guaranteed to take up disk            
  318.      space.  The author of this product is more than happy to hear about any    
  319.      bugs or unexpected behavior through non-voice channels (netmail, US        
  320.      Postal Service, or logging on to the CONNECT/Soft BBS), but will not       
  321.      guarantee that immediate bug fixes will be forthcoming.                    
  322.                                                                                 
  323.      ===========================================================================
  324.                               Registered License                                
  325.      ===========================================================================
  326.                                                                                 
  327.      You are free to make unlimited backup copies of this program for           
  328.      archival purposes.  You may not distribute copies of this program          
  329.      except under the following provisions:  You may at your choosing give      
  330.      away or sell your program with its accompanying files to ONE party,        
  331.      provided you destroy all copies of the software in your possession         
  332.      after the time of the transaction.  The copies of the program that are     
  333.      used to install your applications MUST NOT be distributed with the key     
  334.      that enables script modifications.                                         
  335.                                                                                 
  336.      Pursuant to United States copyright laws and international copyright       
  337.      agreements, Doc-Proc must be treated as if it were a book.  Just          
  338.      as two people cannot read a book in front of separate computers, two       
  339.      people must not simultaneously use the same registered copy of             
  340.      Doc-Proc.  The sole purpose of archival copies of Doc-Proc is              
  341.      to be for protection against hardware or diskette failure.
  342.  
  343.  
  344.                  
  345.                           Doc-Proc Reference Manual
  346.                                       - 4 -
  347.  
  348.  
  349.  
  350.  
  351.      ===========================================================================
  352.                               Registered Warranty                               
  353.      ===========================================================================
  354.                                                                                 
  355.      The registered version (original copy) is warranted to meet in all key     
  356.      aspects its defined behavior as listed in the documentation.  Key          
  357.      aspects are those features without which the program will fail in some     
  358.      gross manner to perform as desired.  Minor specifications (such
  359.      as prompt lengths, etc.) are subject to change without notice.  The
  360.      final arbiter as to the interpretation of the documentation shall be
  361.      the author of the program.  The sole remedy available to the purchaser
  362.      of Doc-Proc shall be bug fixes or a refund, as determined by the
  363.      author.  Work-arounds (eg syntax modifications) for the purposes of
  364.      warranty consideration will be considered acceptable if they make
  365.      possible the same task that any bug renders impossible.  If verified
  366.      bugs are not corrected within 30 days of notification, and if the
  367.      purchaser is working in good faith to keep in contact with the author,
  368.      the purchaser at his option is entitled to a refund.  Verified bugs are
  369.      those which the author is able to duplicate on machines that fall
  370.      within the equipment requirements list.
  371.  
  372.      Upgraded versions of Doc-Proc will be handled in a slightly
  373.      different fashion.  Unless demonstrated otherwise, it is assumed by
  374.      the author that free upgrades obtained by the purchaser are so
  375.      obtained as a matter of the purchaser's convenience, and it is thus
  376.      assumed that the original, purchased copy of Doc-Proc is not
  377.      defective.  It is further assumed that if a bug is discovered in a
  378.      free upgrade, the purchaser is still able to use his older version of
  379.      Doc-Proc.  Therefore, unresolved bugs found in a free upgrade of
  380.      Doc-Proc are not subject to a refund of monies paid should such
  381.      bugs remain unresolved after 30 days.  Any bugs found should still be
  382.      reported to the author, as he will give all bug reports due attention
  383.      in his attempts to resolve them.
  384.  
  385.      There is one exception to this previous provision.  If the author
  386.      represents an upgrade as a fix to a bug reported by the purchaser,
  387.      then the full original warranty shall be extended to cover the
  388.      upgrade.
  389.  
  390.      ===========================================================================
  391.                               Registered Support                                
  392.      ===========================================================================
  393.                                                                                 
  394.      The registered version entitles the purchaser to unlimited support via     
  395.      netmail, the CONNECT/Soft BBS or via US Mail.  I am unable, however, to    
  396.      provide telephone support.                                                 
  397.        
  398.  
  399.  
  400.  
  401.  
  402.                           
  403.  
  404.                           Doc-Proc Reference Manual
  405.                                       -5-
  406.  
  407.  
  408.  
  409.  
  410.      ===========================================================================
  411.                                Frankness Clause                                 
  412.      ===========================================================================
  413.                                                                                 
  414.      As you well know, it's darned difficult to get a publisher to stand        
  415.      behind his product.  He usually guarantees the diskette (what a joke)      
  416.      and hangs you out to dry.  If there is an error in the program, I will     
  417.      do anything possible to correct it in a timely fashion.  I am also         
  418.      very interested in any ambiguities or errors in this documentation.        
  419.      Whatever problems you do find, I would appreciate a note.                  
  420.                                                                                 
  421.                                                                  
  422.      ===========================================================================
  423.                                   Disclaimer                                    
  424.      ===========================================================================
  425.                                                                                 
  426.      While every effort has been made by the author to ensure the fitness       
  427.      for use and integrity of Doc-Proc, the author cannot and will not          
  428.      accept responsibility for any damage, physical or otherwise, to any        
  429.      equipment owned by the purchaser.  The author habitually recommends        
  430.      that all customers back up their data regularly and frequently;  that      
  431.      recommendation applies here as well.  The maximum remedy available to      
  432.      the purchaser in the event of any type of dispute is the purchase cost     
  433.      of the software.                                                           
  434.                                                                                 
  435.      ===========================================================================
  436.                        About the Autoexec.bat file                              
  437.      ===========================================================================
  438.                                                                                 
  439.      Since the On-line Document Information Retrieval System is installed        
  440.      under a directory called Doc-Proc, you may want to modify your             
  441.      Autoexec.bat file so that the operating system is able to execute          
  442.      the program without having to be under the directory.  In order to         
  443.      do this, you may modify your path command by concatenating the             
  444.      directory Doc-Proc at the end of the PATH command.  Remember to separate   
  445.      the last directory with a semicolon.                                       
  446.                                                                                 
  447.      ===========================================================================
  448.                              Contacting the Author                              
  449.      ===========================================================================
  450.                                                                                 
  451.      If you have any questions concerning the workings of this product          
  452.      you may contact me at the following mailing address:                       
  453.                                                                                 
  454.                                 JOHN S. WARD                                    
  455.                                 4247 Bingham Ct.
  456.                                 Stone Mountain, Georgia 30083
  457.                                 United States of America
  458.                                                                                 
  459.      Any response sent to this address will receive a prompt response.          
  460.  
  461.  
  462.  
  463.                           Doc-Proc Reference Manual 
  464.                                     - 6 -
  465.  
  466.  
  467.  
  468.  
  469.      The following steps will greatly aid technical support and speed of        
  470.      problem resolution:                                                        
  471.                                                                                 
  472.           1. If a specific command is not working as expected, does your        
  473.              usage of the command comply with its description in the            
  474.              appropriate section of the documentation?                          
  475.                                                                                 
  476.           2. To avoid my needing to resort to guesswork, send the exact         
  477.              script that is not working for you with your question.             
  478.                                                                                 
  479.           3. If logging onto the CONNECT/Soft On-line for technical support,     
  480.              prepare your message in advance.  The Message Menu of the BBS      
  481.              has an Upload feature that will allow you to upload your           
  482.              message with most any protocol.  This will greatly reduce          
  483.              connect time and increase accuracy.  Be sure to include your       
  484.              entire script as part of the message, or as its own message.       
  485.                                                                                 
  486.           4. Be sure to indicate exactly which error messages, if any, are      
  487.              accompanying unexpected behavior.                                  
  488.                                                                                 
  489.  
  490.                                  
  491.      ===========================================================================
  492.                                 Upgrade Policy                                  
  493.      ===========================================================================
  494.                                                                                 
  495.      "Once bought, always bought."  Purchasers of Doc-Proc will be              
  496.      entitled to free upgrades indefinitely.  I will notify you of the          
  497.      first significant upgrade of Doc-Proc after registration, and I            
  498.      keep the current registered version of Doc-Proc available for              
  499.      download in the 'Registered User' file section of the CONNECT/Soft On-line. 
  500.                                                                                 
  501.      ===========================================================================
  502.                                  Script Syntax                                  
  503.      ===========================================================================
  504.                                                                                 
  505.      When Doc-Proc.exe is executed, the first file it looks for is a file       
  506.      called MENU.FIL in the same directory as Doc-Proc.  If MENU.FIL is         
  507.      not available, the program terminates.  If MENU.FIL is processed           
  508.      successfully, processing continues until the token command END has been
  509.      encountered in the current script or an end-of-file is reached.  Once      
  510.      all token commands have been processed successfully, panel screens         
  511.      will be displayed for option selections.                                   
  512.                                                                                 
  513.      Before beginning immediately with the syntax proper, an explanation of     
  514.      how Doc-Proc functions is in order:                                        
  515.                                                                                 
  516.      If the script DEST, a token command for output destination, is missing,    
  517.      a default list of output destination options will be displayed on          
  518.      the Destination panel.  If menu headings are missing for the MENU2         
  519.      token command, a MENU2 heading will be constructed from the category       
  520.      name used with the token command MENU1.                                    
  521.                                                                                 
  522.                           Doc-Proc Reference Manual                             
  523.                                       - 7 -                                     
  524.  
  525.  
  526.  
  527.  
  528.      ===========================================================================
  529.                           Format of Script File
  530.      ===========================================================================
  531.                                                                                 
  532.                                                                                 
  533.                                 MENU.FIL                                        
  534.                                 --------                                        
  535.                                                                                 
  536.      The following is a brief overview of the syntax needed for MENU.FIL:
  537.  
  538.  
  539.  
  540.      COMMAND.COM PATH = Drive: directory path in which a copy of
  541.                                COMMAND.COM resides.
  542.      DIRECTORY Drive: directory path for which document files reside.
  543.      TITLE "User banner goes here"
  544.      DEST
  545.      SKIP 1
  546.      CENTER "Destination title goes here"
  547.      CENTER "Additional destination title goes here"
  548.      DEST "Destination description" [printer dest.] [network directive]
  549.      MENU1
  550.      SKIP 1
  551.      CENTER "MENU1 category titles here"
  552.      CENTER "Additional MENU! category titles here"
  553.      SKIP 1
  554.      MENU1 "Name of 1st category"
  555.      MENU2
  556.      CENTER "MENU2 screen title here"
  557.      CENTER "Additional MENU2 screen titles here"
  558.      SKIP 1
  559.      MENU2 "Name of document" "Document name on disk" #pages last-update
  560.      MENU2 "Name of document" "Document name on disk" #pages last-update
  561.      MENU2 "Name of document" "Document name on disk" #pages last-update
  562.      MENU2 "Name of document" "Document name on disk" #pages last-update
  563.      MENU1 "Name of 2nd category"
  564.      MENU2
  565.      CENTER "MENU2 screen title here"
  566.      CENTER "Additional MENU2 screen titles here"
  567.      SKIP 1
  568.      MENU2 "Name of document" "Document name on disk" #pages last-update
  569.      MENU2 "Name of document" "Document name on disk" #pages last-update
  570.      MENU2 "Name of document" "Document name on disk" #pages last-update
  571.      MENU2 "Name of document" "Document name on disk" #pages last-update
  572.      SKIP 2
  573.      GOODBYE "So-long text goes here"
  574.      GOODBYE "Additional GOODBYE lines go here"
  575.      END
  576.  
  577.  
  578.  
  579.  
  580.  
  581.                           Doc-Proc Reference Manual                         
  582.                                       -8-
  583.  
  584.                                          
  585.  
  586.                                                                                 
  587.      In the above example, the order that the tokens appear is the              
  588.      most logical, but is not strictly required.  The following is a list       
  589.      of token order requirements:                                               
  590.                                                                                 
  591.            1.    TITLE tokens must appear before any other menu panels are      
  592.                  constructed.  The TITLE token should appear before any         
  593.                  DEST, MENU1 or MENU2 token.  CENTER, SENTENCE, and SKIP        
  594.                  tokens may be used in conjunction with TITLE tokens.           
  595.                                                                                 
  596.            2.    The DEST token used to define a panel of document destination  
  597.                  selections should logically follow the TITLE tokens since this 
  598.                  is the next screen that will be displayed after the user banner
  599.                  screen.  CENTER, SENTENCE and SKIP tokens may be used          
  600.                  in conjunction with DEST tokens.  If one wants to utilize      
  601.                  the default destination panel, leave this command out of       
  602.                  the MENU.FIL.                                                  
  603.                                                                                 
  604.            3.    The MENU1 token must precede a MENU2 token.  If no MENU2 token 
  605.                  precedes a MENU1 token, a sub-panel for that MENU1 token will  
  606.                  not be created.  In other words you will have an entry for a   
  607.                  category but no document names will be displayed when the      
  608.                  user chooses that category.  The absence of a MENU2 token will 
  609.                  not generate an error message as to allow for user flexibility 
  610.                  in building panels.  CENTER, SENTENCE and SKIP tokens may      
  611.                  be used in conjunction with the MENU1 token command so that    
  612.                  a title may be constructed for the category panel.             
  613.                                                                                 
  614.            4.    The MENU2 token directive must follow a MENU1 token directive. 
  615.                  This token is used to build the panel which contains the names 
  616.                  of the documents that will be associated with a selected       
  617.                  category.  The document information for each MENU2 token       
  618.                  directive will be associated with the last MENU1 token         
  619.                  directive.  CENTER, SENTENCE and SKIP tokens may be used in    
  620.                  conjunction with the MENU2 token command so that a title       
  621.                  may be constructed for the document panel.  If neither one     
  622.                  of these tokens is used, a default title will be constructed   
  623.                  using the name of the category from MENU1.
  624.                                                                                 
  625.            5.    The GOODBYE token should follow all previously used tokens.    
  626.                  This token is used to build a screen which displays a final    
  627.                  message before the program terminates.  CENTER, SENTENCE and   
  628.                  SKIP tokens may be used in conjunction with the GOODBYE token  
  629.                  command.  This is an optional token and may be left out of     
  630.                  the token job stream if you wish.                              
  631.                                                                                 
  632.            6.    The END token may be used anywhere in the program.  It simply  
  633.                  terminates all token processing at the point at which the token
  634.                  command is scanned.  Most of the time the END token will be    
  635.                  the very last token used in the job stream.  If no END token   
  636.                  is used Doc-Proc will look for an end-of-file marker before    
  637.                  terminating its token scan.
  638.  
  639.                                     
  640.                           Doc-Proc Reference Manual
  641.                                       - 9 -
  642.  
  643.  
  644.  
  645.                                                                                 
  646.      ===========================================================================
  647.                                  Script Tokens                                  
  648.      ===========================================================================
  649.  
  650.  
  651.             All Script tokens should be placed in a file named MENU.FIL.
  652.             This file should be a standard ASCII text file with a record
  653.             length of 80 bytes.
  654.  
  655.  
  656.  
  657.  
  658.  
  659.  
  660.  
  661.  
  662.                                                                                 
  663.                                          CENTER                                 
  664.                                          ------                                 
  665.                                                                                 
  666.      Syntax:                                                                    
  667.                                                                                 
  668.        CENTER "Any text enclosed in quotes"                                     
  669.                                                                                 
  670.      Example:                                                                   
  671.                                                                                 
  672.        CENTER "THIS IS A LIST OF CATEGORIES ON OUR NETWORK"                     
  673.                                                                                 
  674.                                                                                 
  675.      The Center token may be used to center a string of text up to 70           
  676.      characters long.  This command may be used in conjunction with the         
  677.      following token directives:                                                
  678.                                                                                 
  679.      1) DEST    - token directive for the Destination panel.                    
  680.      2) MENU1   - token directive for the Primary menu panel.                   
  681.      3) MENU2   - token directive for the Document panel.                       
  682.                                                                                 
  683.      Once any one of these token directives have been issued, You may use       
  684.      the CENTER token command to center designated text for each of the         
  685.      above panels.  Up to 70 characters of text are allowed with the CENTER     
  686.      token command.  If the particular text used creates unbalanced sides,      
  687.      insert an extra space on the errant side to even things out.               
  688.      Any one of the above token directives may be issued before the CENTER      
  689.      token command to designate the appropriate panel for which the text        
  690.      is to be centered.                                                         
  691.      If quotes are omitted for a string of text, an error message will be       
  692.      displayed on the Product Banner screen and processing will be              
  693.      terminated.                         
  694.  
  695.  
  696.  
  697.  
  698.  
  699.                           Doc-Proc Reference Manual
  700.                                      - 10 -
  701.  
  702.  
  703.  
  704.  
  705.                                     COMMAND.COM
  706.                                     -----------
  707.  
  708.      Syntax:
  709.  
  710.        COMMAND.COM PATH = Drive: directory path in which a copy of
  711.                                  COMMAND.COM resides.
  712.  
  713.      Example:
  714.  
  715.        COMMAND.COM PATH = F:\PUBLIC\DOS\IBM\V5.00
  716.  
  717.  
  718.      The COMMAND.COM token is used to tell DOC-PROC where to obtain a copy
  719.      of your COMMAND.COM.  DOC-PROC needs a copy of COMMAND.COM when issuing
  720.      any Network or DOS directive.  If the token command COMMAND.COM is not
  721.      found in the file MENU.FIL, DOC-PROC will look for a copy of COMMAND.COM
  722.      in DOC-PROC's root directory.  If you have installed Doc-Proc on your
  723.      C drive, there should be a copy of COMMAND.COM in your root directory
  724.      since the DOS operating system environment is usually installed on your
  725.      C drive.
  726.      If you have installed Doc-Proc on a Network file server, keep in mind
  727.      that many Networks do not maintain a copy of COMMAND.COM in the root
  728.      directory.  If this is the case, use the token command COMMAND.COM to
  729.      direct DOC-PROC to the appropriate drive and directory.  The drive must
  730.      be specified along with the directory.
  731.      When specifying the drive and directory you are allowed up to a maximum
  732.      of 60 characters.  If your directory path exceeds this length, you will
  733.      experience a truncation problem.
  734.  
  735.      This token command may be used anywhere in the MENU.FIL.  It must
  736.      however, preceed any token directives that rely on Network or DOS
  737.      directives.
  738.      If the equal sign does not follow the path directive, or the drive
  739.      followed by a colon is not specified, an error message will be displayed
  740.      on the Product Banner screen and processing will be terminated.
  741.  
  742.  
  743.  
  744.  
  745.  
  746.  
  747.  
  748.  
  749.  
  750.  
  751.  
  752.  
  753.  
  754.  
  755.  
  756.  
  757.  
  758.                           Doc-Proc Reference Manual
  759.                                      -11-
  760.  
  761.  
  762.  
  763.                                                                                 
  764.                                       COMMENT                                   
  765.                                       -------                                   
  766.                                                                                 
  767.      Syntax:                                                                    
  768.                                                                                 
  769.        COMMENT  Any text following the COMMENT token.                           
  770.                                                                                 
  771.      Example:                                                                   
  772.                                                                                 
  773.        COMMENT  THE DOC-PROC TOKEN CONTROL LANGUAGE                              
  774.        COMMENT                WAS MODIFIED 06/15/93                             
  775.                                                                                 
  776.                                                                                 
  777.      The COMMENT token is used to internally document your token directives.    
  778.      Any text preceded with the COMMENT token is ignored when the program
  779.      builds the panels for the various menus.  The COMMENT command must be      
  780.      followed by one or more spaces.  This command may be used anywhere         
  781.      in your job stream.  Use of this command to document other token           
  782.      directives makes the job stream more readable.                             
  783.  
  784.  
  785.  
  786.  
  787.  
  788.  
  789.  
  790.  
  791.  
  792.  
  793.  
  794.  
  795.  
  796.  
  797.  
  798.  
  799.  
  800.  
  801.  
  802.  
  803.  
  804.  
  805.  
  806.  
  807.  
  808.  
  809.  
  810.  
  811.  
  812.  
  813.  
  814.  
  815.  
  816.                                                                                 
  817.                           Doc-Proc Reference Manual
  818.                                      - 12 -
  819.  
  820.                                        
  821.  
  822.                                      
  823.                                        DEST                                     
  824.                                        ----                                     
  825.                                                                                 
  826.      Syntax:                                                                    
  827.                                                                                 
  828.        DEST                                                                     
  829.        DEST "Text enclosed in quotes"                                           
  830.        DEST "Text enclosed in quotes" [printer dest.]                           
  831.        DEST "Text enclosed in quotes" [printer dest.] [network directive]       
  832.        DEST [printer dest.]                                                     
  833.        DEST [printer dest.] [network directive]                                 
  834.                                                                                 
  835.                                                                                 
  836.      Example:                                                                   
  837.                                                                                 
  838.        DEST " 2) HEWLETT PACKARD " [LPT1]  [CAPTURE QUEUE=HPLJ2 S=CCLAB]        
  839.                                                                                 
  840.                                                                                 
  841.      The DEST token is used to build the Destination panel.  This panel allows  
  842.      the user to choose a print destination for those documents that are        
  843.      selected.                                                                  
  844.      The DEST command may be used without any parameters.  This will enable     
  845.      you to use other token commands, such as CENTER and SENTENCE, to build     
  846.      a title for the Destination panel.                                         
  847.      The second form of the DEST command allows you to have multiple lines      
  848.      to describe a single printer destination.                                  
  849.      The third and fourth form of the DEST command use brackets as delimiters   
  850.      for the printer destination and network directive.  When specifying a      
  851.      network directive, it must always follow a printer destination.            
  852.      Option numbers displayed on the Destination panel will correspond          
  853.      to the order of the printer destinations specified in the Job stream.      
  854.      For each printer option to be displayed, you should specify an             
  855.      option number as part of the string literal.                               
  856.      The printer destinations will be stored in a vector starting with          
  857.      an assigned number of 1 and continuing until the last printer              
  858.      destination has been scanned.                                              
  859.      Network directives are optional.  They allow the user of the program       
  860.      to be able to choose a specific printer both of which may be accessed      
  861.      by way of the same print destination [LPT1].  Most of the time             
  862.      a network directive will not be necessary.                                 
  863.      If quotes are omitted for a string of text, an error message will be       
  864.      displayed on the Product Banner screen and processing will be              
  865.      terminated.                                                                
  866.                                                                                 
  867.                                                                                 
  868.  
  869.  
  870.  
  871.  
  872.  
  873.  
  874.  
  875.  
  876.                           Doc-Proc Reference Manual
  877.                                      - 13 -
  878.  
  879.  
  880.  
  881.  
  882.                                     DIRECTORY
  883.                                     ---------
  884.  
  885.      Syntax:
  886.  
  887.         DIRECTORY  Drive: directory path in which document files reside
  888.  
  889.      Example:
  890.  
  891.          DIRECTORY F:\PUBLIC\DOC-PROC\DOC\
  892.  
  893.  
  894.      The Directory token script is used to specify a directory and its
  895.      associated subdirectories.  The directory designation has two
  896.      requirements:
  897.  
  898.          1)  The drive must be specified and followed by a semicolon.
  899.  
  900.          2)  The last subdirectory ends with a back slash.
  901.  
  902.  
  903.      The Directory token may be used to concatenate a drive and directory
  904.      to a file name specified on the MENU2 token command.  By using the
  905.      Directory token to specify a directory, you can save space when
  906.      designating a file name on the MENU2 token command.  This provides more
  907.      room on the MENU2 token command to describe the document type.  If the
  908.      drive is given as part of the file name specified on the MENU2 token
  909.      command, directory information from the Directory token command will
  910.      not be concatenated.
  911.      The Directory token thus allows you to specify a directory for a number
  912.      of documents while at the same time the Directory token command may be
  913.      overridden from the MENU2 token command by specifying a drive with the
  914.      file name.
  915.      This feature thus allows you to specify a directory under which many of
  916.      the documents reside and at the same time allows for the flexability
  917.      of specifying documents residing under different directories.
  918.  
  919.      A sample token job stream using the DIRECTORY token follows:
  920.  
  921.  
  922.           DIRECTORY F:\PUBLIC\DOC-PROC\DOC\
  923.           MENU1 "COMPILER LANGUAGES"
  924.             MENU2 "COBOL"      COBOL.DOC                   008  12/04/93
  925.             MENU2 "FORTRAN"    FORTRAN.DOC                 006  12/09/93
  926.             MENU2 "PASCAL"     PASCAL.DOC                  005  11/24/93
  927.           MENU1 "DATABASE LANGUAGES"
  928.             MENU2 "DBASE"      D:\DATABASE\DOC\DBASE.DOC   010  12/14/93
  929.             MENU2 "PARADOX"    D:\DATABASE\DOC\PARADOX.DOC 022  10/21/93
  930.           END
  931.  
  932.  
  933.  
  934.  
  935.                           Doc-Proc Reference Manual
  936.                                      - 14 -
  937.  
  938.  
  939.  
  940.                                                                               
  941.                                        END                                      
  942.                                        ---                                      
  943.      Syntax:                                                                    
  944.                                                                                 
  945.        END                                                                      
  946.                                                                                 
  947.      Example:                                                                   
  948.                                                                                 
  949.        END                                                                      
  950.                                                                                 
  951.                                                                                 
  952.                                                                                 
  953.      The END token is used to terminate script token processing.  This token    
  954.      directive may be placed anywhere in the token command stream.              
  955.      When the Doc-Proc processor processes this command, all other token        
  956.      commands following the END token are ignored.  If no syntax errors are     
  957.      found on those token commands prior to the END command, Doc-Proc will      
  958.      proceed to prompt for destination and menu panel options.  Using this      
  959.      token directive is entirely optional.  Without this token directive,       
  960.      the Doc-Proc processor will continue processing token scripts until        
  961.      it reaches end-of-file.                                                    
  962.                                                                                 
  963.                                                                                 
  964.                                                                                 
  965.                                      GOODBYE                                    
  966.                                      -------                                    
  967.                                                                                 
  968.      Syntax:                                                                    
  969.                                                                                 
  970.        GOODBYE                                                                  
  971.        GOODBYE "Text enclosed in quotes"                                        
  972.                                                                                 
  973.      Example:                                                                   
  974.                                                                                 
  975.        GOODBYE "YOU ARE NOW FINISHED USING THE Doc-Proc system"                 
  976.                                                                                 
  977.      The GOODBYE token script is used to display an optional panel when         
  978.      the Doc-Proc program terminates.  This may be used to tell the end user    
  979.      what to do once he/she has finished using the Doc-Proc processor.          
  980.      The GOODBYE command may be used without any parameters.  This will enable  
  981.      you to use other token commands, such as the SENTENCE token, to help build 
  982.      a GOODBYE panel.  If the GOODBYE token is not used, the program            
  983.      terminates without this additional screen.                                 
  984.      If quotes are omitted for a string of text, an error message will be       
  985.      displayed on the Product Banner screen and processing will be              
  986.      terminated.
  987.  
  988.  
  989.  
  990.  
  991.  
  992.  
  993.  
  994.                           Doc-Proc Reference Manual
  995.                                      - 15 -
  996.  
  997.  
  998.  
  999.                                                                                 
  1000.                                       MARGIN                                    
  1001.                                       ------                                    
  1002.      Syntax:                                                                    
  1003.                                                                                 
  1004.        MARGIN                                                                   
  1005.        MARGIN margin-width                                                      
  1006.                                                                                 
  1007.                                                                                 
  1008.      EXAMPLE:                                                                   
  1009.                                                                                 
  1010.        MARGIN 4                                                                 
  1011.                                                                                 
  1012.                                                                                 
  1013.      The MARGIN command may be used to designate a left margin width for        
  1014.      all the documents selected for printing.  If the MARGIN command is         
  1015.      used without a designated margin-width, the margin-width is assumed        
  1016.      to be 1.  Use of the MARGIN token will cause Doc-Proc to be slower         
  1017.      when printing documents.                                                   
  1018.                                                                                 
  1019.                                                                                 
  1020.                                                                                 
  1021.                                                                                 
  1022.                                       MENU1                                     
  1023.                                       -----                                     
  1024.                                                                                 
  1025.      Syntax:                                                                    
  1026.                                                                                 
  1027.        MENU1                                                                    
  1028.        MENU1 "Text enclosed in quotes"                                          
  1029.                                                                                 
  1030.      Example:                                                                   
  1031.                                                                                 
  1032.        MENU1 "STATISTICAL PACKAGES"                                             
  1033.                                                                                 
  1034.                                                                                 
  1035.                                                                                 
  1036.      The MENU1 token is used build the Main Menu panel.  This panel allows      
  1037.      the user to choose a category of documents to be viewed.                   
  1038.      The MENU1 command may be used without any parameters.  This will enable    
  1039.      you to use other token commands, such as CENTER and SENTENCE, to build     
  1040.      a title for the Main Menu panel.                                           
  1041.      The second form of the MENU1 command is used to build a menu selection     
  1042.      panel of categories.  Option numbers will be automatically generated       
  1043.      for each category entry.  The order for each entry displayed on the        
  1044.      screen will be the same as the order found in the Job stream of            
  1045.      token commands.                                                            
  1046.      If quotes are omitted for a string of text, an error message will be       
  1047.      displayed on the Product Banner screen and processing will be              
  1048.      terminated.                                                                
  1049.  
  1050.  
  1051.  
  1052.  
  1053.                           Doc-Proc Reference Manual
  1054.                                      - 16 -
  1055.  
  1056.                                                                                 
  1057.                                      
  1058.                                            
  1059.                                       MENU2                                     
  1060.                                       -----                                     
  1061.                                                                                 
  1062.      Syntax:                                                                    
  1063.                                                                                 
  1064.        MENU2                                                                    
  1065.        MENU2 "Document type" "Document name on disk" number-of-pages last-update
  1066.                                                                                 
  1067.      Example:                                                                   
  1068.                                                                                 
  1069.        MENU2 "STAT PLUS   " "F:\DOCUMENTS\STATPLUS.DOC" 27 09/23/93             
  1070.                                                                                 
  1071.                                                                                 
  1072.      The MENU2 token is used to build the selection panels for each             
  1073.      category of the Main Menu.  Each of these panels allows the user           
  1074.      to select a document to be viewed at the screen or sent to a print         
  1075.      destination.                                                               
  1076.      The MENU2 command may be used without any parameters.  This will enable    
  1077.      you to use other token commands, such as CENTER and SENTENCE, to build     
  1078.      a title for the Main Menu panel.  If no token command is designated        
  1079.      The second form of the MENU2 command is used to build a selection of       
  1080.      documents for each category designated by the MENU1 command.  The drive
  1081.      specification may or may not be present as a part of the "Document name
  1082.      on Disk".  If the drive specification does not exist, a drive and
  1083.      Directroy designation may be defined using the Directory token command.
  1084.      If no Directory token was used, Doc-Proc will look for the document
  1085.      under the current default drive.
  1086.      Option numbers are displayed on the screen for each document name.
  1087.      The order for each entry will be the same as the order found in the
  1088.      Job stream of token commands.
  1089.      If quotes are omitted for a string of text, an error message will be
  1090.      displayed on the Product Banner screen and processing will be
  1091.      terminated.
  1092.  
  1093.  
  1094.  
  1095.  
  1096.  
  1097.  
  1098.  
  1099.  
  1100.  
  1101.  
  1102.  
  1103.  
  1104.  
  1105.  
  1106.  
  1107.  
  1108.  
  1109.  
  1110.  
  1111.  
  1112.                           Doc-Proc Reference Manual
  1113.                                      - 17 -
  1114.  
  1115.                                                                                 
  1116.  
  1117.  
  1118.                                      NETWORK                                    
  1119.                                      -------                                    
  1120.                                                                                 
  1121.      Syntax:                                                                    
  1122.                                                                                 
  1123.        NETWORK "Text enclosed in quotes"                                        
  1124.                                                                                 
  1125.      Example:                                                                   
  1126.                                                                                 
  1127.        NETWORK "CAPTURE QUEUE=HPLJ2 S=CCLAB1"                                   
  1128.                                                                                 
  1129.                                                                                 
  1130.                                                                                 
  1131.      The NETWORK may be used to issue NETWORK or DOS directives.  This token    
  1132.      command will probably be the least used of the token commands.  It has     
  1133.      been made available if the need for this type of command ever arises.      
  1134.      Most of the NETWORK routing commands will be used in conjunction with      
  1135.      the DEST token command.                                                    
  1136.      If quotes are omitted for a string of text, an error message will be       
  1137.      displayed on the Product Banner screen and processing will be              
  1138.      terminated.                                                                
  1139.  
  1140.  
  1141.  
  1142.  
  1143.  
  1144.  
  1145.  
  1146.  
  1147.  
  1148.  
  1149.  
  1150.  
  1151.  
  1152.  
  1153.  
  1154.  
  1155.  
  1156.  
  1157.  
  1158.  
  1159.  
  1160.  
  1161.  
  1162.  
  1163.  
  1164.  
  1165.  
  1166.  
  1167.  
  1168.  
  1169.  
  1170.  
  1171.                           Doc-Proc Reference Manual
  1172.                                      - 18 -
  1173.  
  1174.                                                                                 
  1175.                                                                                 
  1176.                                       
  1177.                                           
  1178.                                      SENTENCE                                   
  1179.                                      --------                                   
  1180.                                                                                 
  1181.      Syntax:                                                                    
  1182.                                                                                 
  1183.        SENTENCE "Any text enclosed in quotes"                                   
  1184.                                                                                 
  1185.      Example:                                                                   
  1186.                                                                                 
  1187.        SENTENCE "                     LIBRARY SOUTH ROOM 107"                   
  1188.                                                                                 
  1189.                                                                                 
  1190.      The Sentence token may be used to display unaltered string literals        
  1191.      for a number of select panels.  This command may be used in conjunction    
  1192.      with the following token directives:                                       
  1193.                                                                                 
  1194.      1) TITLE   - token directive for the User Banner panel.                    
  1195.      2) DEST    - token directive for the Destination panel.                    
  1196.      3) MENU1   - token directive for the Primary menu panel.                   
  1197.      4) MENU2   - token directive for the Document panel.                       
  1198.                                                                                 
  1199.      Once any one of these token directives have been issued, you may use       
  1200.      the SENTENCE token command to place a string of text in any of the         
  1201.      above panels.  Up to 70 characters of text are allowed with the SENTENCE   
  1202.      command token.                                                             
  1203.      Any one of the above token directives may be issued before the SENTENCE    
  1204.      token command to designate the appropriate panel for which the text        
  1205.      is to be placed.                                                           
  1206.      If quotes are omitted, an error message will be displayed on the           
  1207.      Product Banner screen and processing will be terminated.                   
  1208.  
  1209.  
  1210.  
  1211.  
  1212.  
  1213.  
  1214.  
  1215.  
  1216.  
  1217.  
  1218.  
  1219.  
  1220.  
  1221.  
  1222.  
  1223.  
  1224.  
  1225.  
  1226.  
  1227.  
  1228.  
  1229.                                                                                 
  1230.                           Doc-Proc Reference Manual
  1231.                                      - 19 -
  1232.  
  1233.                                       
  1234.  
  1235.                                           
  1236.                                       SKIP                                      
  1237.                                       ----                                      
  1238.                                                                                 
  1239.      Syntax:                                                                    
  1240.                                                                                 
  1241.        SKIP                                                                     
  1242.        SKIP number-of-lines-skipped                                             
  1243.                                                                                 
  1244.                                                                                 
  1245.      EXAMPLE:                                                                   
  1246.                                                                                 
  1247.        SKIP 4                                                                   
  1248.                                                                                 
  1249.                                                                                 
  1250.      The SKIP command may be used to skip a designated number of lines          
  1251.      between lines of text.  This command may be used in conjunction with       
  1252.      the following token directives:                                            
  1253.                                                                                 
  1254.      1) TITLE   - token directive for the User Banner panel.                    
  1255.      2) DEST    - token directive for the Destination panel.                    
  1256.      3) MENU1   - token directive for the Primary menu panel.                   
  1257.      4) MENU2   - token directive for the Document panel.                       
  1258.                                                                                 
  1259.      Once any one of these token directives have been issued, You may use       
  1260.      the SKIP token command to skip a designated number of lines.  If the       
  1261.      SKIP command does not specify a number of lines to be skipped, a skip      
  1262.      value of 1 will be assumed.                                                
  1263.                                          
  1264.  
  1265.  
  1266.  
  1267.  
  1268.  
  1269.  
  1270.  
  1271.  
  1272.  
  1273.  
  1274.  
  1275.  
  1276.  
  1277.  
  1278.  
  1279.  
  1280.  
  1281.  
  1282.  
  1283.  
  1284.  
  1285.  
  1286.  
  1287.  
  1288.  
  1289.                          Doc-Proc Reference Manual
  1290.                                     - 20 -
  1291.  
  1292.  
  1293.  
  1294.                                                                                 
  1295.                                      TITLE                                      
  1296.                                      ------                                     
  1297.                                                                                 
  1298.      Syntax:                                                                    
  1299.                                                                                 
  1300.        TITLE "Any text enclosed in quotes"                                      
  1301.                                                                                 
  1302.      Example:                                                                   
  1303.                                                                                 
  1304.        TITLE "GEORGIA STATE UNIVERSITY"                                         
  1305.                                                                                 
  1306.                                                                                 
  1307.      The TITLE token identifies the lines of text to be shown to the User       
  1308.      at the beginning of the program.  This enables you to display an           
  1309.      organization or department name.  All text for the User Title will         
  1310.      be display after the Product banner.  Up to 70 characters are allowed      
  1311.      for each line of text.  Each string of text that appears on the Title      
  1312.      screen will be centered.  If the particular text used creates unbalanced   
  1313.      sides, insert an extra space on the errant side to even things out.        
  1314.                                                                                 
  1315.      If quotes are omitted for a string of text, an error message will be       
  1316.      displayed on the Product Banner screen and processing will be              
  1317.      terminated.                                                                
  1318.                                                                                 
  1319.      If you wish text to appear on the Title screen without being centered,     
  1320.      the use the SENTENCE token command.  You are allowed to use up to 20       
  1321.      lines of text on the TITLE screen.  The SENTENCE token command will        
  1322.      process a string literal in its unaltered state.                           
  1323.                                          
  1324.  
  1325.  
  1326.  
  1327.  
  1328.  
  1329.  
  1330.  
  1331.  
  1332.  
  1333.  
  1334.  
  1335.  
  1336.  
  1337.  
  1338.  
  1339.  
  1340.  
  1341.  
  1342.  
  1343.  
  1344.  
  1345.  
  1346.  
  1347.  
  1348.                            Doc-Proc Reference Manual
  1349.                                      - 21 -
  1350.  
  1351.  
  1352.  
  1353.                                                                                 
  1354.      ===========================================================================
  1355.                                Script Debugging                                 
  1356.      ===========================================================================
  1357.                                                                                 
  1358.      Before you release your customized version of Doc-Proc to your users,      
  1359.      you are going to want to make sure that the end product as you envision    
  1360.      it is actually going to happen.  I have made a great effort to make all    
  1361.      error messages as descriptive as possible.  In the cases of DOS returning  
  1362.      an error, the error message is given verbatim back to you.  I              
  1363.      have taken great lengths to make the parser as smart as possible;          
  1364.      however, possible to make any parser look stupid with intentional or       
  1365.      lucky entries (just leave a terminating curly bracket off a c function     
  1366.      if you need proof.)  If you follow the syntax closely, the parser will     
  1367.      make both Doc-Proc and your application look great.  If you feel           
  1368.      that your syntax is correct, or should be, but the parser seems to         
  1369.      disagree with you, leave me a note through the channels described in       
  1370.      "Contacting the Author."                                                   
  1371.  
  1372.  
  1373.  
  1374.  
  1375.      ===========================================================================
  1376.                                 Error Messages                                  
  1377.      ===========================================================================
  1378.                                                                                 
  1379.      The following are the standard error messages built into Doc-Proc.         
  1380.      The nature of these errors is such that Doc-Proc cannot continue,          
  1381.      so these error messages can probably be classified as Fatal Errors.        
  1382.      Of course, the message the user sees doesn't include the word 'Fatal'      
  1383.      for obvious reasons.                                                       
  1384.                                                                                 
  1385.      Any application should be distributed with manual installation             
  1386.      instructions to help alleviate the unexpected, hence the wordage of        
  1387.      the error message.  The documentation that you provide your users          
  1388.      should include a telephone number in case of installation                  
  1389.      difficulties, or in case manual procedures also didn't succeed.            
  1390.                                          
  1391.  
  1392.  
  1393.  
  1394.  
  1395.  
  1396.  
  1397.  
  1398.  
  1399.  
  1400.  
  1401.  
  1402.  
  1403.  
  1404.  
  1405.  
  1406.  
  1407.                           Doc-Proc Reference Manual
  1408.                                      - 22 -
  1409.  
  1410.  
  1411.  
  1412.  
  1413.      ==========================================================================
  1414.                                Critical File Errors
  1415.      ==========================================================================
  1416.  
  1417.  
  1418.  
  1419.                        THE FOLLOWING KINDS OF OPEN ERRORS CAN OCCUR             
  1420.                     AND RESULT IN ABNORMAL TERMINATION OF THE PROGRAM           
  1421.                     *************************************************           
  1422.                                                                                 
  1423.                                                                                 
  1424.                                                                                 
  1425.      1)  Error opening MENU.FIL                                                 
  1426.                                                                                 
  1427.            MENU.FIL was not found in the same directory as Doc-Proc,            
  1428.            or there were no file handles available.                             
  1429.                                                                                 
  1430.                                                                                 
  1431.          / ============================================================ \
  1432.          ||                                                            ||       
  1433.          ||     The following unrecoverable error has occurred:        ||       
  1434.          ||                                                            ||       
  1435.          ||                 Error opening MENU.FIL                     ||       
  1436.          ||                                                            ||       
  1437.          || Please refer to your documentation for manual installation ||       
  1438.          || instructions if the problem cannot be corrected.           ||       
  1439.          ||                                                            ||       
  1440.          ||                Press a key to terminate...                 ||       
  1441.          \ ============================================================ /       
  1442.                                                                                 
  1443.                                                                                 
  1444.      2) Error opening NEWS.FIL                                                  
  1445.                                                                                 
  1446.            NEWS.FIL was not found in the same directory as Doc-Proc,            
  1447.            or there were no file handles available.                             
  1448.                                                                                 
  1449.                                                                                 
  1450.                                                                                 
  1451.          / ============================================================ \       
  1452.          ||                                                            ||       
  1453.          ||     The following unrecoverable error has occurred:        ||       
  1454.          ||                                                            ||       
  1455.          ||                 Error opening NEWS.FIL                     ||       
  1456.          ||                                                            ||       
  1457.          || Please refer to your documentation for manual installation ||       
  1458.          || instructions if the problem cannot be corrected.           ||       
  1459.          ||                                                            ||       
  1460.          ||                Press a key to terminate...                 ||       
  1461.          \ ============================================================ / 
  1462.  
  1463.  
  1464.  
  1465.       
  1466.                           Doc-Proc Reference Manual
  1467.                                      - 23 -
  1468.  
  1469.  
  1470.  
  1471.                                                                                 
  1472.      3) Error opening a document file.                                          
  1473.                                                                                 
  1474.            A document was not found on the designated drive on the               
  1475.            your Network.                                                        
  1476.                                                                                 
  1477.                                                                                 
  1478.                                                                                 
  1479.          / ============================================================ \       
  1480.          ||                                                            ||       
  1481.          ||     The following unrecoverable error has occurred:        ||       
  1482.          ||                                                            ||       
  1483.          ||                 Error opening "name-of-document"           ||       
  1484.          ||                                                            ||       
  1485.          ||  Most probable cause: Document named above could not be    ||       
  1486.          ||  found on Disk or Network. Check the name of the file. If  ||       
  1487.          ||  you still have problems, check syntax of the MENU2 token. ||       
  1488.          ||                                                            ||       
  1489.          ||                Press a key to terminate...                 ||       
  1490.          \ ============================================================ /       
  1491.                                           
  1492.  
  1493.  
  1494.  
  1495.  
  1496.  
  1497.  
  1498.      4) Error accessing COMMAND.COM.
  1499.  
  1500.            The COMMAND.COM file was not found under the root directory or
  1501.            the token command COMMAND.COM specified an invalid path directory.
  1502.  
  1503.  
  1504.  
  1505.          / ============================================================ \
  1506.          ||                                                            ||
  1507.          ||     The following unrecoverable error has occured:         ||
  1508.          ||                                                            ||
  1509.          ||                                                            ||
  1510.          ||           The COMMNAD.COM file could not be found.         ||
  1511.          ||                                                            ||
  1512.          ||    EITHER:                                                 ||
  1513.          ||                                                            ||
  1514.          ||    1) COMMAND.COM file was not found in Root directory.    ||
  1515.          ||    2) COMMAND.COM file was not found in the token          ||
  1516.          ||       command COMMAND.COM PATH directory.                  ||
  1517.          ||                                                            ||
  1518.          ||    Please refer to your documentation for istructions      ||
  1519.          ||    in using the token command COMMAND.COM.                 ||
  1520.          ||                                                            ||
  1521.          \ ============================================================ /
  1522.  
  1523.  
  1524.  
  1525.                              Doc-Proc Reference Manual
  1526.                                       - 24 -
  1527.  
  1528.                                                                                 
  1529.                                                                                 
  1530.                                                                                 
  1531.                                                                                 
  1532.      ==========================================================================
  1533.                                  Token Syntax Errors
  1534.      ==========================================================================
  1535.  
  1536.      COMMAND.COM command missing PATH directive.
  1537.      COMMAND.COM command missing equal sign after PATH directive.
  1538.      COMMAND.COM command missing drive designation on PATH directive.
  1539.  
  1540.      DIRECTORY command missing SEMICOLON following drive designation.
  1541.      DIRECTORY command does not end with a "\".
  1542.                                                                                 
  1543.      MARGIN command missing DOUBLE QUOTE MARKS.                                 
  1544.                                                                                 
  1545.      TITLE command missing DOUBLE QUOTE MARKS.                                  
  1546.      TITLE command missing DOUBLE QUOTE MARK.                                   
  1547.      TITLE command has too many DOUBLE QUOTE MARKS.                             
  1548.                                                                                 
  1549.      CENTER command missing DOUBLE QUOTE MARKS.                                 
  1550.      CENTER command missing DOUBLE QUOTE MARK.                                  
  1551.      CENTER command has too many DOUBLE QUOTE MARKS.                            
  1552.                                                                                 
  1553.      SKIP command is missing valid numeric value.                               
  1554.                                                                                 
  1555.      SENTENCE command missing DOUBLE QUOTE MARKS.                               
  1556.      SENTENCE command missing DOUBLE QUOTE MARK.                                
  1557.      SENTENCE command has too many DOUBLE QUOTE MARKS.                          
  1558.                                                                                 
  1559.      DEST command missing DOUBLE QUOTE MARKS.                                   
  1560.      DEST command missing DOUBLE QUOTE MARK.                                    
  1561.      DEST command has too many DOUBLE QUOTE MARKS.                              
  1562.                                                                                 
  1563.      DEST command missing RIGHT BRACKET                                         
  1564.      DEST command missing LEFT BRACKET                                          
  1565.      DEST command has too many LEFT BRACKETS                                    
  1566.      DEST command has too many RIGHT BRACKETS                                   
  1567.                                                                                 
  1568.      NETWORK command missing RIGHT BRACKET                                      
  1569.      NETWORK command missing LEFT BRACKET                                       
  1570.      NETWORK command has too many LEFT BRACKETS                                 
  1571.      NETWORK command has too many RIGHT BRACKETS                                
  1572.                                                                                 
  1573.      MENU2 command has not been preceded by a MENU1 command.                   
  1574.      MENU2 command missing DOUBLE QUOTE MARKS.                                  
  1575.      MENU2 command missing DOUBLE QUOTE MARK.                                   
  1576.      MENU2 command has too many DOUBLE QUOTE MARKS.                             
  1577.                                                                                 
  1578.      GOODBYE command missing DOUBLE QUOTE MARKS.                                 
  1579.      GOODBYE command missing DOUBLE QUOTE MARK.                                  
  1580.      GOODBYE command has too many DOUBLE QUOTE MARKS.
  1581.  
  1582.  
  1583.  
  1584.                           Doc-Proc Reference Manual
  1585.                                      - 25 -
  1586.  
  1587.  
  1588.  
  1589.  
  1590.      INVALID TOKEN COMMAND!
  1591.  
  1592.            A token encountered on the indicated line in the script
  1593.            was not a valid command.
  1594.  
  1595.  
  1596.  
  1597.  
  1598.  
  1599.  
  1600.  
  1601.  
  1602.  
  1603.  
  1604.  
  1605.  
  1606.  
  1607.  
  1608.  
  1609.  
  1610.  
  1611.  
  1612.  
  1613.  
  1614.  
  1615.  
  1616.  
  1617.  
  1618.  
  1619.  
  1620.  
  1621.  
  1622.  
  1623.  
  1624.  
  1625.  
  1626.  
  1627.  
  1628.  
  1629.  
  1630.  
  1631.  
  1632.  
  1633.  
  1634.  
  1635.  
  1636.  
  1637.  
  1638.  
  1639.  
  1640.  
  1641.  
  1642.                                                                                 
  1643.                           Doc-Proc Reference Manual                             
  1644.                                      - 26 -
  1645.  
  1646.  
  1647.                                
  1648.                                                                                 
  1649.      ==========================================================================
  1650.                                Miscellaneous Errors
  1651.      ==========================================================================
  1652.                                                                                 
  1653.      DOS version 3.0 or higher required                                         
  1654.                                                                                 
  1655.            A DOS version prior to 3.0 was detected.  Doc-Proc requires          
  1656.            MS-DOS 3.0 or later.                                                 
  1657.                                                                                 
  1658.                                                                                 
  1659.                                                                                 
  1660.      Token was expected but not found: line nn                                  
  1661.                                                                                 
  1662.            A token was expected but not found on the indicated line.  This      
  1663.            usually means that one or more words is missing on this line.        
  1664.                                                                                 
  1665.      Memory allocation error                                                    
  1666.                                                                                 
  1667.            A request for more memory was denied.  This is extremely             
  1668.            unlikely to occur, as Doc-Proc requires under 200k of free           
  1669.            RAM.                                                                 
  1670.                                                                                 
  1671.  
  1672.  
  1673.      ===========================================================================
  1674.                             Critical Hardware Errors
  1675.      ===========================================================================
  1676.                                                                                 
  1677.      Should a disk door be left open (or any other critical error trapped       
  1678.      by DOS, for that matter) a Critical Error handler built into               
  1679.      Doc-Proc will take control and provide the user with a menu similar        
  1680.      to this one:                                                               
  1681.                                                                                 
  1682.  
  1683.                                                                                 
  1684.                                                                                 
  1685.                   / ==========[DOS Critical Error]========= \
  1686.                   ||                                       ||                   
  1687.                   ||   [Abort]  [Retry]  [Ignore]  [Fail]  ||                   
  1688.                   ||                                       ||                   
  1689.                   \ ======================================= /                   
  1690.                                                                                 
  1691.      If the user accepts retry, he will be in most cases safe.  Of course,      
  1692.      if his computer picked the exact moment that he's installing your          
  1693.      application to crash its hard drive, no Critical Error handler is          
  1694.      going to recover very gracefully.
  1695.  
  1696.  
  1697.  
  1698.  
  1699.  
  1700.  
  1701.  
  1702.                           Doc-Proc Reference Manual 
  1703.                                      - 27 -
  1704.  
  1705.  
  1706.  
  1707.                                                                                 
  1708.      ===========================================================================
  1709.                       PREPARING DOCUMENTS FOR DOC-PROC                          
  1710.      ===========================================================================
  1711.                                                                                 
  1712.      All documents processed by the Doc-Proc processor should be in standard    
  1713.      ASCII text.  If you wish to have a wider left margin on your documents,    
  1714.      You may use the MARGIN token in the token job stream to attain the         
  1715.      desired margin width for the printed documents.  Use of this token         
  1716.      command is not recommended as it generates additional Central Processing   
  1717.      Unit (CPU) overhead which slows down the printing process.                 
  1718.                                                                                 
  1719.      A maximum of 55 lines of text may be printed for each page of text.        
  1720.      This limitation was established to permit automatic page numbering         
  1721.      at the bottom of each page.  If you wish to have forced pagination         
  1722.      between text, you may use the word EJECT.  This command must start         
  1723.      in column 1 and may be used anywhere within the text of your               
  1724.      document.                                                                  
  1725.                                                                                 
  1726.      Make sure that the record length for each document file is 80 bytes        
  1727.      long.                                                                      
  1728.                                                                                 
  1729.      ===========================================================================
  1730.                       PREPARING THE NEWS FILE FOR DOC-PROC                      
  1731.      ===========================================================================
  1732.                                                                                 
  1733.      A news file must be established before Doc-Proc will successfully          
  1734.      execute.  If the NEWS.FIL does not exist under the same directory          
  1735.      as Doc-Proc, the program will generate an appropriate error message        
  1736.      and terminate.                                                             
  1737.      Function key 'F4' is used as the key to display System news.  Once         
  1738.      the System News panel is displayed, you are given a choice of two          
  1739.      options.  You may display all of the news on the system or just that       
  1740.      news less than 30 days old.  The NEWS.FIL is used to place news of         
  1741.      upcoming events within a department or it may be used to post             
  1742.      conference dates.                                                           
  1743.      Each piece of news that is posted in the NEWS.FIL should be preceded      
  1744.      by the date the news was posted.  For readability purposes and file        
  1745.      management, the news date should be on a line by itself.  The news         
  1746.      date should start in column 1 with a 2 digit month followed by             
  1747.      a slash, a 2 digit day followed by a slash, and a 2 digit year.            
  1748.                                                                                 
  1749.      EXAMPLE:                                                                   
  1750.                                                                                 
  1751.      07/01/93                                                                   
  1752.           The XYZ corporation will be closed JULY 4, 1993.                      
  1753.                                                                                 
  1754.      09/01/93                                                                   
  1755.           There is a departmental meeting at 1:00pm 09/15/93 in                 
  1756.           room 105.  Attendance is mandatory.                                   
  1757.  
  1758.      The NEWS.FIL can be maintained by any ASCII text editor.  Make sure        
  1759.      the record length for the file is 80 bytes long.
  1760.  
  1761.                           Doc-Proc Reference Manual
  1762.                                      - 28 -
  1763.  
  1764.  
  1765.  
  1766.  
  1767.      ===========================================================================
  1768.                                   Registration                                  
  1769.      ===========================================================================
  1770.                                                                                 
  1771.      This section deals only with registered copies of Doc-Proc.                
  1772.      Shareware versions have no distribution protection built in                
  1773.      whatsoever.                                                                
  1774.                                                                                 
  1775.      With your registered Doc-Proc diskette you received the latest version     
  1776.      without the shareware notice on the Banner screen.                         
  1777.      This protects my product, as well as protects your installation from       
  1778.      unwanted tampering.                                                        
  1779.                                                                                 
  1780.                                                                                 
  1781.                                                                                 
  1782.                                                                                 
  1783.                                                                                 
  1784.                                                                                 
  1785.                                                                                 
  1786.                                                                                 
  1787.                                                                                 
  1788.                                                                                 
  1789.                                           
  1790.  
  1791.  
  1792.  
  1793.  
  1794.  
  1795.  
  1796.  
  1797.  
  1798.  
  1799.  
  1800.  
  1801.  
  1802.  
  1803.  
  1804.  
  1805.  
  1806.  
  1807.  
  1808.  
  1809.  
  1810.  
  1811.  
  1812.  
  1813.  
  1814.                                       
  1815.                                                                                 
  1816.                                                                                 
  1817.                                                                                 
  1818.                                                                                 
  1819.                                                                                 
  1820.                           Doc-Proc Reference Manual                             
  1821.                                      - 29 -
  1822.  
  1823.                                                                     
  1824.  
  1825.  
  1826.      ==========================================================================
  1827.                                The Ten Commandments
  1828.      ==========================================================================
  1829.  
  1830.                                     EXODUS 20
  1831.  
  1832.      20 THEN GOD ISSUED this edict:
  1833.          "I am Jehovah your God who liberated you from your slavery in Egypt.
  1834.          "You may worship no other god than me.
  1835.          "You shall not make yourselves any idols: any images resembling
  1836.      animals, birds, or fish.  You must never bow to an image or worship it in
  1837.      any way; for I, the Lord your God, am very possessive.  I will not share
  1838.      your affection with any other god!
  1839.          "And when I punish people for their sins, the punishment continues
  1840.      upon the children, grandchildren, and great-grandchildren of those who
  1841.      hate me; but I lavish my love upon thousands of those who love me and
  1842.      obey my commandments.
  1843.          "You shall not use the name of Jehovah your God irreverently, nor
  1844.      use it to swear to a falsehood.  You will not escape punishment if you
  1845.      do.
  1846.          "Remember to observe the Sabbath as a holy day.  Six days a week are
  1847.      for your daily duties and your regular work, but the seventh day is a
  1848.      day of Sabbath rest before the lord your God.  On that day you are to do
  1849.      no work of any kind, nor shall your son, daughter, or slaves-whether men
  1850.      or women-or your cattle or your house gusts.  For in six days the Lord
  1851.      made the heaven, earth, and sea, and everything in them, and rested the
  1852.      seventh day; so he blessed the Sabbath day and set it aside for rest.
  1853.          "Honor your father and mother, that you may have a long, good life
  1854.      in the land the Lord your God will give you.
  1855.          "You must not murder.
  1856.          "You must not commit adultery.
  1857.          "You must not steal.
  1858.          "You must not lie.
  1859.          "You must not be envious of your neighbor's house, or want to sleep
  1860.      with his wife, or want to own his slaves, oxen, donkeys, or anything else
  1861.      he has."
  1862.  
  1863.  
  1864.      The above passages were taken from "THE LIVING BIBLE PARAPHRASED".
  1865.      These are the words spoken by God "Jehovah" and given to Moses on
  1866.      Mt. Sinai.  They are to be obeyed.
  1867.  
  1868.  
  1869.  
  1870.  
  1871.  
  1872.  
  1873.  
  1874.  
  1875.  
  1876.  
  1877.  
  1878.  
  1879.                           Doc-Proc Reference Manual
  1880.                                      - 30 -
  1881.  
  1882.